﻿@{
    ViewBag.Title = @Local("ApplicationConfiguration.PageTitle");
}

@model ApplicationConfiguration

@using (Html.BeginForm())
{
<div class="box">
    <label>@Local("ApplicationConfiguration.DefaultTheme")</label>
    <div class="right">
        @Html.DropdownListForTheme(model => model.DefaultTheme)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.Language")</label>
    <div class="right">
        @Html.DropdownListForResource(model => model.Language)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.DateFormat")</label>
    <div class="right">
        @Html.DropdownListForDateFormat(model => model.DateFormat)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.TimeFormat")</label>
    <div class="right">
        @Html.DropdownListForTimeFormat(model => model.TimeFormat)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.MetaKeyWords")</label>
    <div class="right winput">
        @Html.TextBoxFor(model => model.MetaKeyWords)
    </div>
</div>

<div class="box">
    <h3>@Local("ApplicationConfiguration.MetaDescription")</h3>
    @Html.TextAreaFor(model => model.MetaDescription)
</div>

<div class="box">
    <h3>@Local("ApplicationConfiguration.Analyzer")</h3>
    @Html.TextAreaFor(model => model.Analyzer)
</div>

<div class="box">
    <h3>@Local("ApplicationConfiguration.Copyright")</h3>
    @Html.TextAreaFor(model => model.Copyright)
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.HomeThreadCount")</label>
    <div class="right">
        @Html.TextBoxFor(model => model.HomeThreadCount)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.LastestThreadCount")</label>
    <div class="right">
        @Html.TextBoxFor(model => model.LastestThreadCount)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.CategoryWidth")</label>
    <div class="right">
        @Html.TextBoxFor(model => model.CategoryWidth)
    </div>
</div>

<div class="box">
    <label>@Local("ApplicationConfiguration.CategoryHeight")</label>
    <div class="right">
        @Html.TextBoxFor(model => model.CategoryHeight)
    </div>
</div>

<div class="box">
    <button>@Local("Configuration.Save")</button>
</div>
}